package cn.piggy.model.answers;

import com.fasterxml.jackson.annotation.JsonProperty;

public class AiResponseBody {
    private String id;
    private String object;
    private int created;
    @JsonProperty("sentence_id")
    private int sentenceId;
    @JsonProperty("is_end")
    private boolean isEnd;
    @JsonProperty("is_truncated")
    private boolean isTruncated;
    @JsonProperty("finish_reason")
    private String finishReason;
    @JsonProperty("search_info")
    private SearchInfo searchInfo;
    private String result;
    @JsonProperty("need_clear_history")
    private boolean needClearHistory;
    private int flag;
    @JsonProperty("ban_round")
    private int banRound;
    private Usage usage;
    @JsonProperty("function_call")
    private FunctionCall functionCall;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getObject() {
        return object;
    }

    public void setObject(String object) {
        this.object = object;
    }

    public int getCreated() {
        return created;
    }

    public void setCreated(int created) {
        this.created = created;
    }

    public int getSentenceId() {
        return sentenceId;
    }

    public void setSentenceId(int sentenceId) {
        this.sentenceId = sentenceId;
    }

    public boolean isEnd() {
        return isEnd;
    }

    public void setEnd(boolean end) {
        isEnd = end;
    }

    public boolean isTruncated() {
        return isTruncated;
    }

    public void setTruncated(boolean truncated) {
        isTruncated = truncated;
    }

    public String getFinishReason() {
        return finishReason;
    }

    public void setFinishReason(String finishReason) {
        this.finishReason = finishReason;
    }

    public SearchInfo getSearchInfo() {
        return searchInfo;
    }

    public void setSearchInfo(SearchInfo searchInfo) {
        this.searchInfo = searchInfo;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public boolean isNeedClearHistory() {
        return needClearHistory;
    }

    public void setNeedClearHistory(boolean needClearHistory) {
        this.needClearHistory = needClearHistory;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public int getBanRound() {
        return banRound;
    }

    public void setBanRound(int banRound) {
        this.banRound = banRound;
    }

    public Usage getUsage() {
        return usage;
    }

    public void setUsage(Usage usage) {
        this.usage = usage;
    }

    public FunctionCall getFunctionCall() {
        return functionCall;
    }

    public void setFunctionCall(FunctionCall functionCall) {
        this.functionCall = functionCall;
    }
}
